﻿using Grishko.SerilizeTools;

namespace OutdoorLib.BaseEntity.Face
{
    /// <summary>
    /// сотрудник - кнтактное лицо - чуждой организации
    /// </summary>

    [TagNameInfo(TagName = "ContactFace")]
    public class ContactFace:Face_F 
    {
        private string _Position = string.Empty;
        [SrchItemInfo(TxtPropertyName = "Должность")]       
        public virtual string Position { get { return _Position; } set { _Position = value; } }
                
        [SrchItemInfo(TxtPropertyName = "Контакты")]       
        public string ContactsAsString
        {
            get { return ContactList. GetContactsAsString("|"); }
        }

        public override void Save()
        {
            base.Save();
        }

        public override void SaveWitchChild()
        {
            base.SaveWitchChild();
        }
      
    }
}
